IF EXISTS (SELECT * FROM sysobjects WHERE type = 'P' AND name = 'RatingTypeUpdateByID')
	BEGIN
		DROP  Procedure  RatingTypeUpdateByID
	END

GO

CREATE Procedure RatingTypeUpdateByID
(
	@RatingTypeID int
	, @Name varchar(32)
	, @Value tinyint
)
AS

UPDATE RatingTypes
SET [Name] = @Name
	, Value = @Value
WHERE RatingTypeID = @RatingTypeID


